﻿using System;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridSortChangedEventArgs : EventArgs
    {
        // Methods
        internal DataGridSortChangedEventArgs(DataGridColumnValue<DataGridSortDirection>[] newSortedColumns, DataGridColumnValue<DataGridSortDirection>[] oldSortedColumns)
        {
            this.NewSortedColumns = newSortedColumns;
            this.OldSortedColumns = oldSortedColumns;
        }

        // Properties
        public DataGridColumnValue<DataGridSortDirection>[] NewSortedColumns { get; private set; }

        public DataGridColumnValue<DataGridSortDirection>[] OldSortedColumns { get; private set; }
    }
}
